package com.zxt.content.job.scheduled.strategy;


import com.zxt.content.copywriting.service.CopywritingJobService;

/**
 * @author zxt 上下文
 */
public class PushCopywritingContext {

    private final PushCopywritingStrategy pushCopywritingStrategy;

    public PushCopywritingContext(PushCopywritingStrategy pushCopywritingStrategy) {
        this.pushCopywritingStrategy = pushCopywritingStrategy;
    }

    public void startPush(CopywritingJobService copywritingJobService) {
        pushCopywritingStrategy.pushCopywriting(copywritingJobService);
    }
}
